import request from '@/utils/request'



// 
export function equipmentData(data) {
  return request({
    url: '/efficiency/dataCenter/equipmentData',
    headers: {
      isToken: true
    },
    method: 'get',
    data
  })
}

export function assetValue(data) {
  return request({
    url: '/efficiency/dataStatistics/assetValue',
    headers: {
      isToken: true
    },
    method: 'get',
    params: data
  })
}


export function stockPhysicalData(data) {
  return request({
    url: '/efficiency/dataAnalysis/stockPhysicalData',
    headers: {
      isToken: true
    },
    method: 'get',
    params: data
  })
}


export function dataAnalysisExport(data) {
  return request({
    url: '/efficiency/dataAnalysis/export',
    headers: {
      isToken: true
    },
    method: 'post',
    data,
    responseType: 'blob'
  })
}

export function dataAnalysisExportCity(data) {
  return request({
    url: '/efficiency/dataAnalysis/exportCity',
    headers: {
      isToken: true
    },
    method: 'post',
    data,
    responseType: 'blob'
  })
}


export function stockPhysicalCityData(data) {
  return request({
    url: '/efficiency/dataAnalysis/stockPhysicalCityData',
    headers: {
      isToken: true
    },
    method: 'get',
    params: data,
  })
}